import request from "@/utils/request";
// 获取赛事赛程
export const getTournamentSchedule = (id) => {
	return request({
		url: `/tournaments/match/${id}`,
		method: "GET"
	});
};
// 新增赛事赛程
export const createTournamentMatch = (data) => {
	return request({
		url: "/tournament-matches/create",
		method: "POST",
		data
	});
};
// 删除赛事赛程
export const deleteTournamentMatch = (id) => {
	return request({
		url: `/tournament-matches/delete/${id}`,
		method: "post"
	});
};
